set vThisField to string(getUserArea(gMasterData)) && "field"
print(the text of member vThisField)
else
alert("Printing is unavailable until an activity is completed.")
end if
end
on getPrintData
set vThisField to string(getUserArea(gMasterData)) && "field"
set the text of member vThisField to EMPTY
set vTempText to EMPTY
put "---- Measure Of Strength ----------" & RETURN & RETURN after vTempText
put "This activity allows you to assess your strength in making decisions. How you rated yourself appears next to each statement. 1 is the least and 4 is the most that can be scored on each statement. Your score is below." & RETURN & RETURN after vTempText
put getBigString() & RETURN & RETURN after vTempText
put RETURN after vTempText
set the text of member vThisField to vTempText
end
on getBigString
set vText to EMPTY
repeat with X = 1 to 12
put line X of field "print1 field" & " " after vText
put line X of field "print2 field" & RETURN after vText
end repeat
put RETURN & "Score:" && the text of field "score field" & RETURN & RETURN after vText
set theScore to value(the text of field "score field")
case 1 of
(theScore > 35):
put line 13 of field "print1 field" & RETURN after vText
(theScore > 20):
put line 14 of field "print1 field" & RETURN after vText
otherwise:
put line 15 of field "print1 field" & RETURN after vText